package com.pengpai.pangucms.mapper;

import com.pengpai.pangucms.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * <p>
 * 用户和角色关联表 Mapper 接口
 * </p>
 *
 * @author lijunjie
 * @since 2023-07-30
 */
@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    List<Map<String, Object>> getUserRoleByUid(Integer userId);

}
